Had to tweak memory hogged Took too much memory, many times tests ran out of memory. BUG=chromium-os:35390 TEST=kernel_fs_Punybench --args=--disk Change-Id: Icd9a83eaa68c70d4a36ef336cdc8e8b579726480 Reviewed-on: https://gerrit.chromium.org/gerrit/41587 Tested-by: Paul Taysom <taysom@chromium.org> Reviewed-by: Luigi Semenzato <semenzato@chromium.org> Commit-Queue: Paul Taysom <taysom@chromium.org>
diff --git a/file.m/uread.c b/file.m/uread.c index e0fb7ae..27554b5 100644 --- a/file.m/uread.c +++ b/file.m/uread.c
@@ -31,7 +31,7 @@ enum { /* Fraction of total memory to use for file size (1/n) */ FRACTION_OF_MEMORY = 4, /* Fraction of file size for how much memory to leave free (1/n) */ - FRACTION_OF_FILE_SIZE = 8 }; + FRACTION_OF_FILE_SIZE = 4 }; u64 Bufsize_log2 = 12; bool Hog_memory = TRUE; diff --git a/file.m/ureadrand.c b/file.m/ureadrand.c index 54312f2..dc529ca 100644 --- a/file.m/ureadrand.c +++ b/file.m/ureadrand.c
@@ -39,7 +39,7 @@ enum { /* Fraction of total memory to use for file size (1/n) */ FRACTION_OF_MEMORY = 4, /* Fraction of file size for how much memory to leave free (1/n) */ - FRACTION_OF_FILE_SIZE = 8 }; + FRACTION_OF_FILE_SIZE = 4 }; u64 Bufsize_log2 = 12; diff --git a/file.m/uwrite.c b/file.m/uwrite.c index 3231fbf..a291334 100644 --- a/file.m/uwrite.c +++ b/file.m/uwrite.c
@@ -31,7 +31,7 @@ enum { /* Fraction of total memory to use for file size (1/n) */ FRACTION_OF_MEMORY = 4, /* Fraction of file size for how much memory to leave free (1/n) */ - FRACTION_OF_FILE_SIZE = 8 }; + FRACTION_OF_FILE_SIZE = 4 }; u64 Bufsize_log2 = 12; bool Hog_memory = TRUE;